package co.edu.usbcali.sgi.dataaccess.dao;

import co.edu.usbcali.sgi.modelo.Vehiculo;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for VehiculoDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IVehiculoDAO {
    public void save(Vehiculo instance);

    public void delete(Vehiculo instance);

    public void update(Vehiculo instance);

    public Vehiculo findById(String id);

    public List<Vehiculo> findByExample(Vehiculo instance);

    public List<Vehiculo> findByProperty(String propertyName, Object value);

    public List<Vehiculo> findAll();

    public List<Vehiculo> findByCriteria(String whereCondition);

    public List<Vehiculo> findPageVehiculo(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberVehiculo();

    public List<Vehiculo> findByVehCod(Object vehCod);

    public List<Vehiculo> findByVehColor(Object vehColor);

    public List<Vehiculo> findByVehModelo(Object vehModelo);
}
